package com.niiwoo.civet.account.dto.response;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Jaylin on 2018/5/15.
 *
 */
@Getter
@Setter
public class UserBillBaseResponseDTO implements Serializable{

    private Long billBaseId;

    private String userId;

    private Long accountId;

    private Date createTime; //创建时间

    private Date updateTime; //更新时间

    private BigDecimal amount; //交易金额

    private Byte inoutType; //收支类型

    private BigDecimal balanceAmount;  //交易后余额

    private Byte status; //状态(BillStatusEnum)

    private Byte orderType;  //账单类型(OrderTypeEnum)

    private Byte projectType; //产品类型(BorrowProjectTypeEnum, 同t_tc_project里的projectType)

    private Byte loanType;//借款类型(LoanTypeEnum, 同t_tc_project里的loanType)

    private String channelCode; //投放渠道

    private Long projectId; //项目id

    private Long projectPackageId;//项目包id

    private Long investId; //投资id

    private Long guaranteeId; // 担保id

    private String orderId; //订单id

    private String requestNo;//请求流水号

    private Integer currentPeriod;

    private Integer totalPeriods;

    private Long backSourceBillId;
}
